import request from '@/util/request'
import baseUrl from './base'

export function insertErpProjectTask(data) {
  return request({
    url: baseUrl + '/erp/project/task/insert',
    method: 'post',
    data
  })
}

export function listErpProjectTask(data) {
  return request({
    url: baseUrl + '/erp/project/task/list',
    method: 'post',
    data
  })
}

export function deleteErpProjectTask(data) {
  return request({
    url: baseUrl + '/erp/project/task/delete',
    method: 'post',
    data
  })
}

export function getErpProjectTask(data) {
  return request({
    url: baseUrl + '/erp/project/task/get',
    method: 'post',
    data
  })
}

export function updateErpProjectTask(data) {
  return request({
    url: baseUrl + '/erp/project/task/update',
    method: 'post',
    data
  })
}

